package org.dromara.system.service.impl;

import cn.hutool.core.lang.tree.Tree;
import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.baomidou.mybatisplus.core.toolkit.Wrappers;
import lombok.RequiredArgsConstructor;
import org.dromara.common.core.utils.MapstructUtils;
import org.dromara.system.domain.SysAreaStore;
import org.dromara.system.domain.bo.SysAreaStoreBo;
import org.dromara.system.domain.bo.SysDeviceBo;
import org.dromara.system.domain.vo.SysAreaStoreVo;
import org.dromara.system.domain.vo.SysDeviceVo;
import org.dromara.system.mapper.SysAreaStoreMapper;
import org.dromara.system.mapper.SysUserAreaStoreMapper;
import org.dromara.system.service.ISysAreaStoreService;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * 区域&门店信息 服务层处理
 *
 * @author Lion Li
 */
@RequiredArgsConstructor
@Service
public class SysAreaStoreServiceImpl implements ISysAreaStoreService {

    private final SysAreaStoreMapper baseMapper;
    private final SysUserAreaStoreMapper userAreaStoreMapper;

    private LambdaQueryWrapper<SysAreaStore> buildQueryWrapper(SysAreaStoreBo bo) {
        LambdaQueryWrapper<SysAreaStore> lqw = Wrappers.lambdaQuery();
        return lqw;
    }

    @Override
    public List<SysDeviceVo> selectDeviceList(SysDeviceBo Device) {
        return null;
    }

    @Override
    public List<Tree<Long>> selectDeviceTreeList(SysDeviceBo Device) {
        return null;
    }

    @Override
    public List<Tree<Long>> buildDeviceTreeSelect(List<SysDeviceVo> Devices) {
        return null;
    }

    @Override
    public List<Long> selectDeviceListByRoleId(Long roleId) {
        return null;
    }

    @Override
    public SysDeviceVo selectDeviceById(Long DeviceId) {
        return null;
    }

    @Override
    public String selectDeviceNameByIds(String DeviceIds) {
        return null;
    }

    @Override
    public long selectNormalChildrenDeviceById(Long DeviceId) {
        return 0;
    }

    @Override
    public boolean hasChildByDeviceId(Long DeviceId) {
        return false;
    }

    @Override
    public boolean checkDeviceExistUser(Long DeviceId) {
        return false;
    }

    @Override
    public boolean checkDeviceNameUnique(SysDeviceBo Device) {
        return false;
    }

    @Override
    public void checkDeviceDataScope(Long DeviceId) {

    }

    @Override
    public void checkDeviceDataScope(List<Long> DeviceIds) {

    }

    @Override
    public int insertDevice(SysDeviceBo bo) {
        return 0;
    }

    @Override
    public int updateDevice(SysDeviceBo bo) {
        return 0;
    }

    @Override
    public int deleteDeviceById(Long DeviceId) {
        return 0;
    }
}
